package com.kwd.news.service;

import com.kwd.news.model.GlobalConfig;
import com.meirengu.service.BaseService;

import java.util.Map;

/**
 * GlobalConfig服务接口
 *
 * @author Mao
 * @create Thu Mar 29 11:00:19 CST 2018
 */
public interface GlobalConfigService extends BaseService<GlobalConfig> {

    GlobalConfig getGlobalConfig(Map map) throws Exception;

    int addGlobalConfig(GlobalConfig globalConfig) throws Exception;

    int updateGlobalConfig(GlobalConfig globalConfig) throws Exception;

    int deleteGlobalConfig(int id) throws Exception;
}
